class ReferenceFieldAdd < ActiveRecord::Migration
  def up
    add_column :references, :location_abstract, :string
    add_column :references, :composite_name, :string
    change_column :references, :composite_name, :string, :null => false
  end

  def down
    remove_column :references, :location_abstract
    remove_column :references, :composite_name
  end
end
